module.exports = {
    proxy: {
      // string shorthand
      '/foo': 'http://localhost:4567/foo',
      // with options
      '/api': {
        target: 'http://jsonplaceholder.typicode.com',
        changeOrigin: true,
        rewrite: path => path.replace(/^\/api/, '')
      }
    },
    optimizeDeps: {
        // include:['element-ui','koa','vue']
        // allowNodeBuiltins:['element-ui','koa','vue']
    }
  }